<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
	<head>
		<!-- 这个页面中不要包含有js!!! -->
	</head>
	<body>
		<!-- 验证还是jquery-validation好用，这里省事没用 -->
		<form class="auform" id="userForm" method="post">
			<input type="hidden" name="userId" id="userId">
			<table class="autable">
				<tr>
					<td class="autd1">
						用户名：
					</td>
					<td class="autd2">
						<input name="userName" style="width: 150px"
							validType="length[2,30]" class="easyui-validatebox txt"
							required="true">
						<span class="red">*</span>
					</td>

					<td class="autd1">
						真名：
					</td>
					<td class="autd2">
						<input name="trueName" style="width: 150px"
							validType="length[0,10]" class="easyui-validatebox txt">
					</td>
					<td class="autd1">
						生日：
					</td>
					<td class="autd2">
						<input name="userBirth" required="true" style="width: 150px;"
							class="Wdate txt" onClick="WdatePicker()">
					</td>
				</tr>
				<tr>


					<td class="autd1">
						公司名：
					</td>
					<td class="autd2">
						<input name="compName" style="width: 150px"
							validType="length[2,50]" class="easyui-validatebox txt"
							required="true">
						<span class="red">*</span>
					</td>
					<td class="autd1">
						称呼:
					</td>
					<td>
				<select class="easyui-combobox" name="userCall" panelHeight="auto" style="width:150px;" required="true" editable="false">
						<option value="-1">请选择</option>
						<option value="0">先生</option>
						<option value="1">小姐</option>
					</select><span class="red">*</span></td>
					<td class="autd1">
						手机：
					</td>
					<td class="autd2">
						<input name="mobile" style="width: 150px;" validType="mobile"
							class="easyui-validatebox txt" required="true">
						<span class="red">*</span>
					</td>
				</tr>
				<tr>
					<td class="autd1">
						邮编：
					</td>
					<td class="autd2">
						<input name="userPost" style="width: 150px;" validType="zip"
							class="easyui-validatebox txt">
					</td>
					<td class="autd1">
						QQ：
					</td>
					<td class="autd2">
						<input name="qq" style="width: 150px;" validType="number"
							class="easyui-validatebox txt">
					</td>
					<td class="autd1">
						邮箱：
					</td>
					<td class="autd2">
						<input name="email" style="width: 150px;" validType="email"
							class="easyui-validatebox txt" required="true">
						<span class="red">*</span>
					</td>
				</tr>
				<tr>

					<td class="autd1">
						MSN：
					</td>
					<td class="autd2">
						<input name="msn" style="width: 150px;" validType="length[0,15]"
							class="easyui-validatebox txt">
					</td>
					<td class="autd1">
						SKYPE：
					</td>
					<td class="autd2">
						<input name="skype" style="width: 150px;" validType="length[0,15]"
							class="easyui-validatebox txt">
					</td>
					<td class="autd1">
						地址：
					</td>
					<td class="autd2">
						<input name="address" id="address" validType="length[0,100]"
							class="txt" type="text" style="width: 150px;" editable="false" />
					</td>
				</tr>


				<tr>
					<td class="autd3" colspan="2">
						&nbsp;
					</td>
					<td class="autd3" colspan="2">
						<a href="#" id="btn-back"
							onclick="$('#MyPopWindow').window('close');"
							class="easyui-linkbutton" iconCls="icon-cancel">取消</a>

					</td>
					<td class="autd3" colspan="2">

						<a href="#" id="btn-add"
							onclick="addOrUpdateUser('${param.update}');"
							class="easyui-linkbutton" iconCls="icon-save">保存</a>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
